import os

import pytest

from conf.settings import REPORT_PATH

if __name__ == '__main__':
    # pytest.main(['-s', '-v', './testCase/',])
    reports = os.path.join(os.path.dirname(__file__),'allure-reports')
    # print(reports)
    pytest.main(['-s','-v','./testCase/',f'--alluredir={reports}'])
    # os.system('allure generate ./reports/allure_raw/ -o ./reports/allure_reports/ --clean ')
    # os.system('allure generate ./reports/allure_raw -o ./reports/allure_report --clean')
